-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FastCDR version bump #141
FastCDR version bump #141
Conversation
this is also stacked on top of |
Thanks for spear heading this initiative. One thing to keep in mind is that we need the code to compile for Iron on Jammy with FastCDR
Personally I'm in favor on 2 since |
It warns that these are unnecessary std::move. Signed-off-by: Chris Lalancette <[email protected]>
Signed-off-by: Chris Lalancette <[email protected]>
7a59970
to
8dee384
Compare
So I rebased this onto the latest, and I also went with strategy 2 as laid out by @Yadunund . For now, we can keep all of our development on the Please take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Tested locally with rolling from source and Fast-CDR 2.x.
I'm surprised we didn't need to include a add_compile_definitions(-DFASTCDR_VERSION_MAJOR ${FASTCDR_MAJOR_VERSION})
in the CMakeLists.txt
file.
Fast-CDR already generates this during its own installation phase and puts it in |
Ah that explains it. |
the ros2 rolling repo recently bumped FastCDR from version 1.1.x to 2.2.x. This moves around some of the constants for FastBuffers. Specifically it renames getSerializedDataLength to get_serialized_data_length and moves where the DDS_CDR serialization flag lives.
References:
Rolling repos update: https://github.com/ros2/ros2/pull/1530/files
FastCDR Include Dirs @ 1.1.x: https://github.com/eProsima/Fast-CDR/tree/1.1.x/include/fastcdr
FastCDR Include Dirs @ 2.2.x: https://github.com/eProsima/Fast-CDR/tree/2.2.x/include/fastcdr